<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
         /* function go(){
             console.log("hello world")
         } */
         var go = function(){
            console.log("hello world")
         }
         go();
         var show = () =>{
             console.log("world")
         }
         show()
         // 如果箭头函数中只有一条语句可以简写
         var test =()=>console.log("test")
         test();
    </script>
</body>
</html>